package operand;

public interface OperandVisitorWithoutResult<T> {
	/**
	 * Method that executed when the implementation of {@link Operand} is a {@link MyValue}.
	 * @param value is a {@link MyValue}
	 */
	void visit(MyValue<T> value);
	/**
	 * Method that executed when the implementation of {@link Operand} is a {@link MyError}
	 * @param stop is a {@link MyError}.
	 */
	void visit(MyError<T> error);
	/**
	 * Method that executed when the implementation of {@link Operand} is a {@link MyStop}.
	 * @param stop is a {@link MyStop}.
	 */
	void visit(MyStop<T> stop);
}
